package org.duiduo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.duiduo.api.consts.RabbitMqConstant;
import org.noear.solon.cloud.annotation.CloudEvent;
import org.noear.solon.cloud.eventplus.CloudEventEntity;

/**
 * Demo实体
 *
 * @author liangze
 * @date 2025/9/30 11:20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@CloudEvent(topic = RabbitMqConstant.DEMO_TOPIC, group = RabbitMqConstant.GROUP)
public class DemoEventEntity extends BaseEventEntity implements CloudEventEntity {

    /**
     * 姓名
     */
    private String name;

}
